]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
powerProfiles: Tweak profile names
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 6 Aug 2021 19:04:24 +0000 (21:04 +0200)
committerBastien Nocera <hadess@hadess.net>
Mon, 9 Aug 2021 13:50:13 +0000 (13:50 +0000)
After some more discussion, we settled on slightly different
profile names.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4530

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1939>

js/ui/status/powerProfiles.js

index f6bc5835b4289f68a722d0ce1973f16c5c35aa1d..61205bbc6096b4baabd5e3b523311f10b0508471 100644 (file)
@@ -16,9 +16,9 @@ const PowerProfilesIface = loadInterfaceXML('net.hadess.PowerProfiles');
 const PowerProfilesProxy = Gio.DBusProxy.makeProxyWrapper(PowerProfilesIface);
 
 const PROFILE_LABELS = {
-    'performance': _('Performance Mode'),
-    'balanced': _('Balanced Power'),
-    'power-saver': _('Power Saver'),
+    'performance': C_('Power profile', 'Performance'),
+    'balanced': C_('Power profile', 'Balanced'),
+    'power-saver': C_('Power profile', 'Power Saver'),
 };
 const PROFILE_ICONS = {
     'performance': 'power-profile-performance-symbolic',